package com.come4loves.game.server.handler;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.come4loves.core.comunicate.AllowAccess;
import com.come4loves.core.comunicate.WhiteListConfig;
/**
 * 游戏端口访问规则
 * @author jerry
 *
 */
@Component("allowAccesGamePortImpl")
public class AllowAccesGamePortImpl implements AllowAccess {

	@Autowired
	private WhiteListConfig whiteListConfig;
	@Override
	public boolean allowIp(String ip) {
		return true;
	}

	@Override
	public boolean allowFlag(String flag) {
		
		return true;
	}

}
